import React from 'react';
import ReactDOM from 'react-dom/client'; // react 18.3.1
// import ReactDOM from "react17-dom"; // react 17.0.2
// import React from 'react17';
// import './index.css';
import App from './App';
import Example from './Example';

// import { ConfigProvider as Ant4ConfigProvider } from 'antd4';
// import { ConfigProvider as Ant3ConfigProvider } from 'antd3';
// import { ConfigProvider  as Ant5ConfigProvider } from 'antd';
import GithubSearch from "./antd5/components/GithubSearch";

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <hr />
    <App />
    <hr />
    <Example />
    <hr />
    <GithubSearch />
    <hr />

  </React.StrictMode>

  // <>
  //   <App />
  //   <Example />
    
  //   {/* <Ant5ConfigProvider>
  //     <Ant4ConfigProvider prefixCls='ant4'>
  //       <Ant3ConfigProvider prefixCls='ant3'>
  //         <Example />
  //       </Ant3ConfigProvider>
  //     </Ant4ConfigProvider>
  //   </Ant5ConfigProvider> */}

  //   <GithubSearch />
  // </>
);
